package com.zy.clothing.service;

import com.zy.clothing.dao.UserTbMapper;
import com.zy.clothing.domain.UserTb;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @program: clothing
 * @description
 * @author: 周佳佳
 * @create: 2020-03-10 21:58
 **/
@Service
public class UserTbServiceimpl implements UserTbService{
    @Resource
    UserTbMapper userTbMapper;
    @Override
    public int deleteByPrimaryKey(Integer usId) {
        return 0;
    }

    @Override
    public int insert(UserTb record) {
        return 0;
    }

    @Override
    public int insertSelective(UserTb record) {
        return userTbMapper.insertSelective(record);
    }

    @Override
    public UserTb selectByPrimaryKey(UserTb userTb) {
        return userTbMapper.selectByPrimaryKey(userTb);
    }

    @Override
    public int updateByPrimaryKeySelective(UserTb record) {
        return userTbMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(UserTb record) {
        return 0;
    }

    @Override
    public int countAll(UserTb userTb) {
        return userTbMapper.countAll(userTb);
    }

    @Override
    public UserTb findById(Integer usId) {
        return userTbMapper.findById(usId);
    }

    @Override
    public List<UserTb> selectAllone() {
        return userTbMapper.selectAllone();
    }
}
